var params = [
    'height='+screen.height,
    'width='+screen.width,
    'fullscreen=yes', // only works in IE, but here for completeness/
	'scrollbars=yes'
].join(',');
     // and any other options from
    
function myFunction() {
mywindow = window.open('http://localhost/hospitar/warfarin/home', '_blank' ,params);
mywindow.popup.moveTo(0,0);
}

